import { Body, Controller, Post } from '@nestjs/common';
import { AccountService } from './account.service';
import { ExtraInfoDto } from './dto/extra-info.dto';
import { Public } from '../decorators/public.decorator';

@Controller('account')
export class AccountController {
  constructor(private readonly accountService: AccountService) { }


  @Public()
  @Post('setExtraInfo')
  setExtraInfo(@Body() extraInfo: ExtraInfoDto) {
    return this.accountService.setExtraInfo(extraInfo)
  }

}
